<ion-view view-title="{{titleText}}">
	<ion-nav-bar class="bar-positive">
		<ion-nav-back-button class="button-clear icon ion-ios-arrow-back" ng-click="backToHome()">
			返回
		</ion-nav-back-button>
	</ion-nav-bar>	

	<ion-content class="has-header">
		<div class="card card-text " ng-repeat="list in dataLists track by $index" ng-class="{true:'overdue',false:'deepblue'}[list.overdue]" ng-click="goPreview({{list.overdue}}, $index);">
         	<div class="row">
				<div class="col col-33">仓库：</div>
				<div class="col">{{list.warehouse.storename}}</div>
			</div>
			<div class="row">
				<div class="col col-33">运单号：</div>
				<div class="col">{{list.sealno}}</div>
			</div>
			<div class="row">
				<div class="col col-33">运输公司：</div>
				<div class="col">{{list.transporter.companyname}}</div>
			</div>
			<div class="row">
				<div class="col col-33">车牌号：</div>
				<div class="col">{{list.carno}}</div>
			</div>
			<div class="row">
				<div class="col col-33">车型：</div>
				<div class="col">{{list.carType.cartypename}}</div>
			</div>
			<div class="row">
				<div class="col col-33">日期：</div>
				<div class="col">{{list.submitTime | date:'yyyy-MM-dd HH:mm'}}</div>
			</div>
			<div class="row time-div" ng-show="!list.overdue">
				<p>未提交</p>
				<p>{{list.hour}}小时后延期</p>
			</div>
			<div class="row time-div" ng-show="list.overdue">
				<p>已过期</p>
			</div>
		</div>

        <div ng-if="!dataLists.length" style="text-align: center">
            <img ng-src="../img/000.jpg"></img>
            <p class="positive" style="font-size: 20px;">目前没有{{titleText}}信息</p>
        </div>
	
	</ion-content>
</ion-view>
